import java.util.Calendar;
import java.lang.Integer;
import java.lang.Object;
import javax.swing.text.StringContent;

public class StringTest
{
	static int testint;
	public static void main(String[] args)
	{
		Calendar date = Calendar.getInstance();
		String datestring = String.format("%tF%n",date);
		String delimiter = "-";
		int strings = 3;		
		String[] datestringarray= datestring.split(delimiter,strings);
		// this.datestringarray = datestringarray;
		int day,month,year;
		
		// String strout = datestringarray[2];
		datestringarray[2] = datestringarray[2].substring(0,2);
		
		day = Integer.parseInt(datestringarray[2]);	
		month = Integer.parseInt(datestringarray[1]);
		year = Integer.parseInt(datestringarray[0]);
		
		System.out.println(year + "-" + month + "-" + day);
		
		System.out.println(returnmethod());
	}
	
	public static int returnmethod()
	{
		return testint;
	}
}

		